/**
 * 字段规则
 */
export type ICoreRuleType = 'boolean' | 'string'
export interface ICoreRule {
    id: number
    name: string
    field: string
    remark: string
    type: ICoreRuleType
    sort: number
    placeholder: string
    nullable: 0 | 1
}
export interface ICoreRulePinia {
    list: ICoreRule[]
}
export type ICoreRuleEditParameter = Omit<ICoreRule, 'id' | 'sort'> & {
    id?: ICoreRule['id']
    sort?: ICoreRule['sort']
}

export type ICoreRuleDeleteParameter = {
    id: ICoreRule['id']
}
